package com.ruoyi.order.mapper;

import java.util.List;
import com.ruoyi.order.domain.StatisticUsers;

/**
 * VIEWMapper接口
 * 
 * @author ruoyi
 * @date 2021-07-08
 */
public interface StatisticUsersMapper 
{
    /**
     * 查询VIEW
     * 
     * @param userName VIEWID
     * @return VIEW
     */
    public StatisticUsers selectStatisticUsersById(String userName);

    /**
     * 查询VIEW列表
     * 
     * @param statisticUsers VIEW
     * @return VIEW集合
     */
    public List<StatisticUsers> selectStatisticUsersList(Long userId);

    /**
     * 新增VIEW
     * 
     * @param statisticUsers VIEW
     * @return 结果
     */
    public int insertStatisticUsers(StatisticUsers statisticUsers);

    /**
     * 修改VIEW
     * 
     * @param statisticUsers VIEW
     * @return 结果
     */
    public int updateStatisticUsers(StatisticUsers statisticUsers);

    /**
     * 删除VIEW
     * 
     * @param userName VIEWID
     * @return 结果
     */
    public int deleteStatisticUsersById(String userName);

    /**
     * 批量删除VIEW
     * 
     * @param userNames 需要删除的数据ID
     * @return 结果
     */
    public int deleteStatisticUsersByIds(String[] userNames);
}
